package com.xja.dubbo.mapper;

import com.xja.dubbo.entity.Bookinfo;

import java.util.List;

public interface BookinfoMapper {
    int deleteByPrimaryKey(Integer bid);

    int insert(Bookinfo record);

    int insertSelective(Bookinfo record);

    Bookinfo selectByPrimaryKey(Integer bid);

    int updateByPrimaryKeySelective(Bookinfo record);

    int updateByPrimaryKey(Bookinfo record);

    //查询所有图书
    List<Bookinfo> findAll();
}